var db = require('../sql')
module.exports = {
    JiFengRecord({msg,status,Integral,openid}){
        const addtime = new Date().getTime();
        db.query('INSERT INTO `IntegralRecord` (msg,status,Integral,addtime,openid) values (?,?,?,?,?)',
        [msg,status,Integral,addtime,openid],
        function (err, data) {
          if (err) {
            throw err
          } else {
            // res.send({ msg: '提交成功', code: 200 });
            return true;
          }
        })
    }
}